package com.xxxx.seckill.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxxx.seckill.pojo.Goods;
import com.xxxx.seckill.vo.GoodsVo;

import java.util.List;


/**
 * <p>
 * 商品表 Mapper 接口
 * </p>
 *
 * @author heyanfeng
 * @since 2022-08-01
 */
public interface GoodsMapper extends BaseMapper<Goods> {

    /**
     * @Author heyanfeng
     * @Description // 获取商品列表
     * @Date 15:26 2022/8/1
     * @Param []
     * @return java.util.List<com.xxxx.seckill.vo.GoodsVo>
     **/
    List<GoodsVo> findGoodsVO();

    /**
     * @Author heyanfeng
     * @Description // 获取商品详情
     * @Date 15:46 2022/8/1
     * @Param [goodsId]
     * @return java.lang.String
     **/
    GoodsVo findGoodsVOByGoodsId(Long goodsId);
}
